<?php if (!defined('THINK_PATH')) exit();?><!-- 添加 -->
<div class="pageContent">
<script type="text/javascript" src="/Public/Admin/Js/twoLinkage.js"></script>
<script type="text/javascript">
$( function() {
    // 地区联动
    var parentObj = $('select[name="province"]');
        var subObj = $('select[name="city"]');
    $.twoLinkage( parentObj, subObj );
        
        var parentObj = $('select[name="city"]');
        var subObj = $('select[name="area"]');
    $.twoLinkage( parentObj, subObj );
    })
</script>
    <form method="post" action="/Admin/Address/create" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone)" >
        <div class="pageFormContent" layoutH="58">
            <div class="unit">
                <label>发货点：</label>
                <input type="text" name="title" value="" class="required" />
            </div>
            
            <div class="unit">
                <label>地址类别：</label>
                <select name="adclassid">
                    <?php if(is_array($class)): foreach($class as $key=>$vo): ?><option value="<?php echo ($vo["id"]); ?>"><?php echo ($vo["title"]); ?></option><?php endforeach; endif; ?>
                    
                </select>
            </div>
            <div class="unit">
                <label>详细地址：</label>
                <input type="text" name="designernum" value="" />
            </div>
            <div class="unit">
                <label>联系人：</label>
                <input type="text" name="goodsworksnum" value=""  />
            </div>  
             <div class="unit">
                <label>联系方式：</label>
                <input type="text" name="day" value=""/>
            </div>			
            
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit">保存</button>
                        </div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close">取消</button>
                        </div>
                    </div>
                </li>
            </ul>
        </div>
    </form>
</div>